export const CONFIG = {
  name: 'MGTMobile',
  version: '0.0.1',
  env: 0
}
export const HOST = {
  dev: 'http://localhost:9999/',
  //dev:'http://192.168.1.117:8082/',
  prod: 'https://webapi.xingyunmao.cn/'
};
export const API = {
  login: {
    url: 'user/signin',
    method: 'post'
  },
  auth: {
    url: 'user/auth',
    method: 'post'
  },
  queryPersonalInfo: {
    url: 'baseInfo/query',
    method: 'post'
  },
  queryScore: {
    url: 'score/query',
    method: 'post'
  },
  queryCourse: {
    url: 'course/query',
    method: 'post'
  },
  queryUser: {
    url: 'user/query',
    method: 'post'
  },
  majors: {
    url: 'common/majors',
    method: 'get'
  },
  grades: {
    url: 'common/grades',
    method: 'get'
  },
  courses: {
    url: 'common/courses',
    method: 'get'
  },
  userTypes: {
    url: 'common/userTypes',
    method: 'get'
  },
  nations:{
    url: 'common/nations',
    method: 'get'
  },
  addPersonalInfo: {
    url: 'baseInfo/add',
    method: 'post'
  },
  updatePersonalInfo: {
    url: 'baseInfo/update',
    method: 'post'
  },
  removePersonalInfo:{
    url: 'baseInfo/delete',
    method: 'post'
  },
  addUser:{
    url: 'user/add',
    method: 'post'
  },
  updateUser:{
    url: 'user/update',
    method: 'post'
  },
  removeUser:{
    url: 'user/delete',
    method: 'post'
  },
  addCourse:{
    url: 'course/add',
    method: 'post'
  },
  updateCourse:{
    url: 'course/update',
    method: 'post'
  },
  removeCourse:{
    url: 'course/delete',
    method: 'post'
  },
  addScore:{
    url: 'score/add',
    method: 'post'
  },
  updateScore:{
    url: 'score/update',
    method: 'post'
  },
  removeScore:{
    url: 'score/delete',
    method: 'post'
  },
  getPersonalInfo:{
    url: 'baseInfo',
    method: 'get'
  },
  queryOwnScore:{
    url: 'score/queryOwn',
    method: 'post'
  }

};

